package com.singfan.core.dao.mongo;

import java.util.List;

/**
 * Author: hansonghe
 * Date: 2015-08-25 14:25
 * Desc:
 */
public interface IHairstyleLocationDao {
    /**
     * 创建发型的地理信息
     * @param hairstyleId
     * @param cityId
     * @param businessCircleId
     * @param longitude
     * @param latitude
     */
    void createHairstyleLocation(long hairstyleId, int cityId, int businessCircleId, int gender, double longitude, double latitude);

    /**
     *
     * @param cityId
     * @param businessCircleId
     * @param longitude
     * @param latitude
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Long> findHairstyleNearbyLocation(int cityId, int businessCircleId, int gender, double longitude, double latitude, int pageIndex, int pageSize);
}
